package com.simple.datax.services;

import java.util.List;

import javax.servlet.http.HttpServletRequest;

import com.simple.util.ErrorMessageUtil;
import com.simple.util.common.Constants;
import com.simple.util.object.JFValidationBean;

public abstract class AbstractDataxBaseService{
	
	protected List<JFValidationBean> getErrorList(){
    	return ErrorMessageUtil.getErrorList();
    }
	
	protected String getSiteLanguage(final HttpServletRequest request){
		return (String) request.getAttribute(Constants.SITE_LANGUAGE);
	}
	
}
